import request from "@/utils/request";

const api_name = `/api/msm`;

export default {
  // 验证码
  sendCode(mobile) {
    return request({
      url: `${api_name}/send/${mobile}`,
      method: `get`,
    });
  },
  // qq邮箱登陆的验证码
  sendCode(email) {
    return request({
      url: `${api_name}/sendEmail/${email}`,
      method: `get`,
    });
  },
};
